package com.tjsinfo.tjsoa.address.common;

import java.util.List;

import com.tjsinfo.tjsoa.Dao.IHibernateDao;
import com.tjsinfo.tjsoa.Dao.IQbcDao;

public class TAddresslistCommonManagerImpl implements TAddresslistCommonManager {

	private IHibernateDao hibernateDao;
	private IQbcDao qbcDao;	
	private ITAddresslistCommonDao addresslistCommonDao;
	
	public IHibernateDao getHibernateDao() {
		return hibernateDao;
	}
	public void setHibernateDao(IHibernateDao hibernateDao) {
		this.hibernateDao = hibernateDao;
	}
	
	public IQbcDao getQbcDao() {
		return qbcDao;
	}
	public void setQbcDao(IQbcDao qbcDao) {
		this.qbcDao = qbcDao;
	}	
	
	public ITAddresslistCommonDao getAddresslistCommonDao() {
		return addresslistCommonDao;
	}
	public void setAddresslistCommonDao(ITAddresslistCommonDao addresslistCommonDao) {
		this.addresslistCommonDao = addresslistCommonDao;
	}

	public void save(TAddresslistCommon transientInstance) {
		// TODO Auto-generated method stub
		addresslistCommonDao.save(transientInstance);
	}
	public void delete(String propertyName, Object value){
		addresslistCommonDao.delete(propertyName, value);
	}
		
	public void delete(TAddresslistCommon persistentInstance) {
		// TODO Auto-generated method stub
		addresslistCommonDao.delete(persistentInstance);
	}

	public void update(TAddresslistCommon persistentInstance) {
		// TODO Auto-generated method stub
		addresslistCommonDao.update(persistentInstance);
	}
	
	public TAddresslistCommon findById(Integer id) {
		// TODO Auto-generated method stub
		return addresslistCommonDao.findById(id);
	}

	public List findByExample(TAddresslistCommon instance) {
		// TODO Auto-generated method stub
		return addresslistCommonDao.findByExample(instance);
	}

	public List findByProperty(String likeName, Object value){
		return addresslistCommonDao.findByProperty(likeName, value);
	}
	
	public List findByLikePropertyAndProperty(String chineseName, Object value, String depatment,Object values){
		return addresslistCommonDao.findByLikePropertyAndProperty(chineseName, value, depatment, values);
	}

	public List findAll() {
		// TODO Auto-generated method stub
		return addresslistCommonDao.findAll();
	}

}
